package com.eazy.lkv2.web.service.blog.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eazy.lkv2.web.entity.blog.Category;
import com.eazy.lkv2.web.mapper.blog.CategoryMapper;
import com.eazy.lkv2.web.service.blog.CategoryService;

@Service
public class CategoryServiceImpl implements CategoryService {

	@Autowired
	CategoryMapper mapper;
	
	@Override
	public List<Category> getCategoryList() {
		return mapper.getCategoryList();
	}

	@Override
	public Category getCategoryByAlias(String aliasName) {
		return mapper.getCategoryByAlias(aliasName);
	}

}
